Imports System
Imports System.Data
Imports ModuleMasters.DNN.Modules.NCAAPoolStandings.Data

Namespace ModuleMasters.DNN.Modules.NCAAPoolStandings.Business

    Public Class NCAAPoolStandingsController
        Implements Entities.Modules.ISearchable
        Implements Entities.Modules.IPortable

#Region "Public Methods"
        '---------------------------------------------------------------------
        ' TODO Implement BLL methods
        ' You can use CodeSmith templates to generate this code
        '---------------------------------------------------------------------
        Public Function ListPoolStandings(ByVal PortalId As Integer, ByVal ModuleId As Integer) As ArrayList
            Return CBO.FillCollection(DataProvider.Instance().ListNCAAPoolStandings(PortalId, ModuleId), GetType(NCAAPoolStandingsInfo))
        End Function

        Public Function GetModuleList(ByVal PortalId As Integer) As ArrayList
            Return CBO.FillCollection(DataProvider.Instance().GetModuleList(PortalId), GetType(ModuleListInfo))
        End Function
        'Public Function GetByModules(ByVal ModuleId As Integer) As ArrayList
        '    Return CBO.FillCollection(DataProvider.Instance().GetNCAAPoolStandingsByModules(ModuleId), GetType(NCAAPoolStandingsInfo))
        'End Function

        'Public Function [Get](ByVal ItemID As Integer, ByVal ModuleId As Integer) As NCAAPoolStandingsInfo
        '    Return CType(CBO.FillObject(DataProvider.Instance().GetNCAAPoolStandings(ItemID, ModuleId), GetType(NCAAPoolStandingsInfo)), NCAAPoolStandingsInfo)
        'End Function

        'Public Function Add(ByVal objNCAAPoolStandings As NCAAPoolStandingsInfo) As Integer
        '    Return CType(DataProvider.Instance().AddNCAAPoolStandings(objNCAAPoolStandings.ModuleId, objNCAAPoolStandings.Field1), Integer)
        'End Function

        'Public Sub Update(ByVal objNCAAPoolStandings As NCAAPoolStandingsInfo)
        '    DataProvider.Instance().UpdateNCAAPoolStandings(objNCAAPoolStandings.ItemId, objNCAAPoolStandings.Field1)
        'End Sub

        'Public Sub Delete(ByVal ItemID As Integer)
        '    DataProvider.Instance().DeleteNCAAPoolStandings(ItemID)
        'End Sub
#End Region

#Region "Optional Interfaces"
        Public Function GetSearchItems(ByVal ModInfo As Entities.Modules.ModuleInfo) As Services.Search.SearchItemInfoCollection Implements Entities.Modules.ISearchable.GetSearchItems

        End Function

        Public Function ExportModule(ByVal ModuleID As Integer) As String Implements Entities.Modules.IPortable.ExportModule

        End Function

        Public Sub ImportModule(ByVal ModuleID As Integer, ByVal Content As String, ByVal Version As String, ByVal UserId As Integer) Implements Entities.Modules.IPortable.ImportModule

        End Sub
#End Region

    End Class

End Namespace
